#pragma once
#include "GameEngine.h"
#include "Object.h"
namespace Advanced2D
{
	class Player: public Object
	{
		Sprite* sprPlayer;
		D3DXVECTOR3 oldPos;

	public:
		void setPostion(D3DXVECTOR3 pos);
		void setOldPos(D3DXVECTOR3 oldPos);
		void setCurrentFrame(int frame);
		Player(void);
		void move();
		void animate();
		void draw();
		void draw(RECT);
		Sprite* getSprite(){return sprPlayer;};
		~Player();
	};

}
